package C10_9_IntroduceParameterObject.before_refactor;

import org.junit.Test;

import java.util.Date;

/**
 * 调用者
 */
public class Invoker {
    @Test
    public void test() {
        Account anAccount = new Account();
        Date startDate = new Date();
        Date endDate = new Date();
        double flow = anAccount.getFlowBetween(startDate, endDate);
        System.out.println(flow);
    }
}
